package com.dingpeikeji.quickdeer.mobile.dao;

import java.util.List;

import com.dingpeikeji.quickdeer.core.common.persistence.annotation.MyBatisDao;
import com.dingpeikeji.quickdeer.core.modules.orders.entity.TOrders;
import com.dingpeikeji.quickdeer.mobile.entity.OrderInfo;

/**
 * 获取订单表全部信息
 */
@MyBatisDao
public interface OrderDao  {
	
	public List<OrderInfo> getOrderList(String userId);
	
	public List<OrderInfo> getNoBalanceList(String userId);

	public Integer updateOrderBalance(String id);
	
	public Integer updateOrderUseCupon(String id);

	public int updateOrderBalance(String orderId, String type);

	//将订单号存入tem_orders表 存储过程使其规定时间取消订单
	public Integer insertTmpOrders(String orderId);

	public void updateOffline(TOrders orders);
}